#include "stdafx.h"
#include "PlayScene.h"
#include "BgLayer.h"
#include "SpiritLayer.h"

CPlayScene::CPlayScene()
{
    CBgLayer* pBg = new CBgLayer();
    CSpiritLayer* pSpirit = new CSpiritLayer();
    pSpirit->SetMap(pBg->GetMap());
    pSpirit->Init();
    CScene::AddLayer(pBg);
    CScene::AddLayer(pSpirit);

}

CPlayScene::~CPlayScene()
{

}